package com.opal.jx.exception;

import org.activiti.engine.RuntimeService;

public class JxAssessException extends RuntimeException {
    private Integer status;
    private String msg;
    public  JxAssessException(){
        //super();默认
    }

    public  JxAssessException(Integer status,String message){
        super(message); //若要调有参的构造方法，必须添加不然就是默认的无参
        this.status=status;
        this.msg=message;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
